package com.kly.user.dto.vo;

import lombok.Builder;
import lombok.Data;
import java.io.Serializable;

/**
 * @author linqu
 */
@Data
@Builder
public class TrafficSourceReq implements Serializable {

    private static final long serialVersionUID = 2311639045715019385L;
    /**
     * 用户内码
     */
    private String userCode;
    /**
     * 应用
     */
    private String appCode;
    /**
     * 手机号码
     */
    private String mobile;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 广告id
     */
    private String adId;

    public static TrafficSourceReq buildReq(String appCode, String userCode, String mobile, String email, String adId) {
        return TrafficSourceReq.builder().appCode(appCode).userCode(userCode).mobile(mobile).email(email).adId(adId).build();
    }

}
